
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>K8s基础知识 · AGou's StudyNote</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="AGou">
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-prism/prism-tomorrow.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-insert-logo/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-lightbox/css/lightbox.min.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="K8s安装与部署.html" />
    
    
    <link rel="prev" href="./" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"repo":"AGou-ops/myStudyNote","types":["star","watch","fork"],"size":"small"};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://agou-ops.github.io" target="_blank" class="custom-link">◆点击进入我的个人博客</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                        <b>1.1.</b>
                    
                    关于我
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../../Program_lang/">
            
                <a href="../../Program_lang/">
            
                    
                        <b>1.2.</b>
                    
                    编程语言
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../../Program_lang/Python.html">
            
                <a href="../../Program_lang/Python.html">
            
                    
                        <b>1.2.1.</b>
                    
                    Python
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../../Program_lang/Java.html">
            
                <a href="../../Program_lang/Java.html">
            
                    
                        <b>1.2.2.</b>
                    
                    Java
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../../Program_lang/Splash_Lua.html">
            
                <a href="../../Program_lang/Splash_Lua.html">
            
                    
                        <b>1.2.3.</b>
                    
                    Splash_Lua
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../../Database/">
            
                <a href="../../Database/">
            
                    
                        <b>1.3.</b>
                    
                    数据库
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../../Database/Mysql、MariaDB/README.md">
            
                <span>
            
                    
                        <b>1.3.1.</b>
                    
                    Mysql/MariaDB
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1.1" data-path="../../Database/Mysql、MariaDB/MySQL、MariaDB基础.html">
            
                <a href="../../Database/Mysql、MariaDB/MySQL、MariaDB基础.html">
            
                    
                        <b>1.3.1.1.</b>
                    
                    MySQL/MariaDB基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.2" data-path="../../Database/Mysql、MariaDB/php-mysql.html">
            
                <a href="../../Database/Mysql、MariaDB/php-mysql.html">
            
                    
                        <b>1.3.1.2.</b>
                    
                    php-mysql
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../../Database/MongoDB.html">
            
                <a href="../../Database/MongoDB.html">
            
                    
                        <b>1.3.2.</b>
                    
                    MongoDB
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../../Database/Redis.html">
            
                <a href="../../Database/Redis.html">
            
                    
                        <b>1.3.3.</b>
                    
                    Redis
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../../Linux/">
            
                <a href="../../Linux/">
            
                    
                        <b>1.4.</b>
                    
                    Linux
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../../Linux/Linux基础.html">
            
                <a href="../../Linux/Linux基础.html">
            
                    
                        <b>1.4.1.</b>
                    
                    Linux基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../../Linux/Linux启动流程、内核、grub、模块、内核的编译、anaconda自动化.html">
            
                <a href="../../Linux/Linux启动流程、内核、grub、模块、内核的编译、anaconda自动化.html">
            
                    
                        <b>1.4.2.</b>
                    
                    Linux启动流程、内核、grub、模块等
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../../Linux/Linux服务器.html">
            
                <a href="../../Linux/Linux服务器.html">
            
                    
                        <b>1.4.3.</b>
                    
                    Linux服务器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../../Linux/Linux状态信息.html">
            
                <a href="../../Linux/Linux状态信息.html">
            
                    
                        <b>1.4.4.</b>
                    
                    Linux状态信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../../Linux/Linux网络客户端工具.html">
            
                <a href="../../Linux/Linux网络客户端工具.html">
            
                    
                        <b>1.4.5.</b>
                    
                    Linux网络客户端工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../../Linux/Linux网络配置.html">
            
                <a href="../../Linux/Linux网络配置.html">
            
                    
                        <b>1.4.6.</b>
                    
                    Linux网络配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../../Linux/Linux配置文件.md">
            
                <span>
            
                    
                        <b>1.4.7.</b>
                    
                    Linux配置文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="../../Linux/Linux时间服务器.html">
            
                <a href="../../Linux/Linux时间服务器.html">
            
                    
                        <b>1.4.8.</b>
                    
                    Linux时间服务器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="../../Linux/Linux日志管理系统.html">
            
                <a href="../../Linux/Linux日志管理系统.html">
            
                    
                        <b>1.4.9.</b>
                    
                    Linux日志管理系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="../../Linux/sudo详解.html">
            
                <a href="../../Linux/sudo详解.html">
            
                    
                        <b>1.4.10.</b>
                    
                    sudo详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.11" data-path="../../Linux/SElinux.html">
            
                <a href="../../Linux/SElinux.html">
            
                    
                        <b>1.4.11.</b>
                    
                    SELinux
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.12" data-path="../../Linux/iptables.html">
            
                <a href="../../Linux/iptables.html">
            
                    
                        <b>1.4.12.</b>
                    
                    iptables
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.13" data-path="../../Linux/Linux_shell.html">
            
                <a href="../../Linux/Linux_shell.html">
            
                    
                        <b>1.4.13.</b>
                    
                    Linux Shell
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.14" data-path="../../Linux/shell_awk.html">
            
                <a href="../../Linux/shell_awk.html">
            
                    
                        <b>1.4.14.</b>
                    
                    shell_awk
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.15" data-path="../../Linux/OpenSSL、PKI搭建、算法.html">
            
                <a href="../../Linux/OpenSSL、PKI搭建、算法.html">
            
                    
                        <b>1.4.15.</b>
                    
                    OpenSSL、PKI搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.16" data-path="../../Linux/DNS服务器.html">
            
                <a href="../../Linux/DNS服务器.html">
            
                    
                        <b>1.4.16.</b>
                    
                    DNS服务器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.17" data-path="../../Linux/Frp内网穿透.html">
            
                <a href="../../Linux/Frp内网穿透.html">
            
                    
                        <b>1.4.17.</b>
                    
                    Frp内网穿透
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.18" data-path="../../Linux/Linux其他.md">
            
                <span>
            
                    
                        <b>1.4.18.</b>
                    
                    Linux其他
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../../Linux_FileSystem/">
            
                <a href="../../Linux_FileSystem/">
            
                    
                        <b>1.5.</b>
                    
                    Linux文件系统
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../../Linux_FileSystem/FTP.html">
            
                <a href="../../Linux_FileSystem/FTP.html">
            
                    
                        <b>1.5.1.</b>
                    
                    FTP
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../../Linux_FileSystem/SAMBA.html">
            
                <a href="../../Linux_FileSystem/SAMBA.html">
            
                    
                        <b>1.5.2.</b>
                    
                    SAMBA
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../../Linux_Tools/">
            
                <a href="../../Linux_Tools/">
            
                    
                        <b>1.6.</b>
                    
                    Linux工具
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../../Linux_Tools/fzf工具.html">
            
                <a href="../../Linux_Tools/fzf工具.html">
            
                    
                        <b>1.6.1.</b>
                    
                    fzf工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../../Linux_Tools/工具集合.html">
            
                <a href="../../Linux_Tools/工具集合.html">
            
                    
                        <b>1.6.2.</b>
                    
                    Linux工具集合
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../../WEB_Server/">
            
                <a href="../../WEB_Server/">
            
                    
                        <b>1.7.</b>
                    
                    网站服务器
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../../WEB_Server/HTML基础.html">
            
                <a href="../../WEB_Server/HTML基础.html">
            
                    
                        <b>1.7.1.</b>
                    
                    HTML基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../../WEB_Server/WEB基础.html">
            
                <a href="../../WEB_Server/WEB基础.html">
            
                    
                        <b>1.7.2.</b>
                    
                    WEB基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../../WEB_Server/httpd.html">
            
                <a href="../../WEB_Server/httpd.html">
            
                    
                        <b>1.7.3.</b>
                    
                    httpd/Apache
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../../WEB_Server/httpd.conf文件详解.html">
            
                <a href="../../WEB_Server/httpd.conf文件详解.html">
            
                    
                        <b>1.7.4.</b>
                    
                    httpd.conf文件详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="../../WEB_Server/Nginx.html">
            
                <a href="../../WEB_Server/Nginx.html">
            
                    
                        <b>1.7.5.</b>
                    
                    Nginx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="../../WEB_Server/HTTP状态码-详情.html">
            
                <a href="../../WEB_Server/HTTP状态码-详情.html">
            
                    
                        <b>1.7.6.</b>
                    
                    HTTP状态码-详情
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../../Common_Framework/">
            
                <a href="../../Common_Framework/">
            
                    
                        <b>1.8.</b>
                    
                    常用框架
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../../Common_Framework/LNMP.html">
            
                <a href="../../Common_Framework/LNMP.html">
            
                    
                        <b>1.8.1.</b>
                    
                    LNMP
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../../Common_Framework/LAMP.html">
            
                <a href="../../Common_Framework/LAMP.html">
            
                    
                        <b>1.8.2.</b>
                    
                    LAMP
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../">
            
                <a href="../">
            
                    
                        <b>1.9.</b>
                    
                    容器及容器编排
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../Docker/Docker.html">
            
                <a href="../Docker/Docker.html">
            
                    
                        <b>1.9.1.</b>
                    
                    Docker
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1.1" data-path="../Docker/Docker.html">
            
                <a href="../Docker/Docker.html">
            
                    
                        <b>1.9.1.1.</b>
                    
                    Docker
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="./">
            
                <a href="./">
            
                    
                        <b>1.9.2.</b>
                    
                    K8s
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.9.2.1" data-path="K8s基础知识.html">
            
                <a href="K8s基础知识.html">
            
                    
                        <b>1.9.2.1.</b>
                    
                    K8s基础知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2.2" data-path="K8s安装与部署.html">
            
                <a href="K8s安装与部署.html">
            
                    
                        <b>1.9.2.2.</b>
                    
                    K8s安装与部署
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../../Git/">
            
                <a href="../../Git/">
            
                    
                        <b>1.10.</b>
                    
                    Git
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="../../Git/Git基础.html">
            
                <a href="../../Git/Git基础.html">
            
                    
                        <b>1.10.1.</b>
                    
                    Git基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="../../Git/GitLab服务器.html">
            
                <a href="../../Git/GitLab服务器.html">
            
                    
                        <b>1.10.2.</b>
                    
                    GitLab服务器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../../Windows/">
            
                <a href="../../Windows/">
            
                    
                        <b>1.11.</b>
                    
                    Windows系统
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="../../Windows/cmd命令.html">
            
                <a href="../../Windows/cmd命令.html">
            
                    
                        <b>1.11.1.</b>
                    
                    cmd命令
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../../Vim.html">
            
                <a href="../../Vim.html">
            
                    
                        <b>1.12.</b>
                    
                    Vim
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../../i3WM快捷键.html">
            
                <a href="../../i3WM快捷键.html">
            
                    
                        <b>1.13.</b>
                    
                    i3WM快捷键
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="../../ADB命令.html">
            
                <a href="../../ADB命令.html">
            
                    
                        <b>1.14.</b>
                    
                    ADB命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="../../Tmux.html">
            
                <a href="../../Tmux.html">
            
                    
                        <b>1.15.</b>
                    
                    Tmux
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="../../Kindle.html">
            
                <a href="../../Kindle.html">
            
                    
                        <b>1.16.</b>
                    
                    Kindle越狱指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="../../Other/">
            
                <a href="../../Other/">
            
                    
                        <b>1.17.</b>
                    
                    Other
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.17.1" data-path="../../Other/pandoc.html">
            
                <a href="../../Other/pandoc.html">
            
                    
                        <b>1.17.1.</b>
                    
                    pandoc
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.2" data-path="../../Other/jupyter&reveal.js.html">
            
                <a href="../../Other/jupyter&reveal.js.html">
            
                    
                        <b>1.17.2.</b>
                    
                    jupyter & reveal.js
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.3" data-path="../../Other/json.html">
            
                <a href="../../Other/json.html">
            
                    
                        <b>1.17.3.</b>
                    
                    json
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.4" data-path="../../Other/Reveal_js.html">
            
                <a href="../../Other/Reveal_js.html">
            
                    
                        <b>1.17.4.</b>
                    
                    Reveal_js
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >K8s基础知识</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-anchor"></i><ul><li><a href="#kubernetes&#x7684;&#x529F;&#x80FD;">1. Kubernetes&#x7684;&#x529F;&#x80FD;</a></li><li><a href="#kubernetes&#x7EC4;&#x4EF6;">2. Kubernetes&#x7EC4;&#x4EF6;</a></li><ul><li><a href="#master&#x7EC4;&#x4EF6;">2.1. Master&#x7EC4;&#x4EF6;</a></li><ul><li><a href="#kube-apiserver">2.1.1. kube-apiserver</a></li><li><a href="#etcd">2.1.2. etcd</a></li><li><a href="#kube-scheduler">2.1.3. kube-scheduler</a></li><li><a href="#kube-controller-manager">2.1.4. kube-controller-manager</a></li><li><a href="#cloud-controller-manager">2.1.5. cloud-controller-manager</a></li></ul><li><a href="#node-&#x7EC4;&#x4EF6;">2.2. Node &#x7EC4;&#x4EF6;</a></li><ul><li><a href="#kubelet">2.2.1. kubelet</a></li><li><a href="#kube-proxy">2.2.2. kube-proxy</a></li><li><a href="#&#x5BB9;&#x5668;&#x5F15;&#x64CE;">2.2.3. &#x5BB9;&#x5668;&#x5F15;&#x64CE;</a></li></ul><li><a href="#addons">2.3. Addons</a></li><ul><li><a href="#dns">2.3.1. DNS</a></li><li><a href="#web-ui&#xFF08;dashboard&#xFF09;">2.3.2. Web UI&#xFF08;Dashboard&#xFF09;</a></li><li><a href="#kuboard">2.3.3. Kuboard</a></li><li><a href="#containerresource-monitoring">2.3.4. ContainerResource Monitoring</a></li><li><a href="#cluster-level-logging">2.3.5. Cluster-level Logging</a></li></ul></ul></ul></div><a href="#kubernetes&#x7684;&#x529F;&#x80FD;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><blockquote>
<p>&#x6CE8;&#xFF1A;&#x5747;&#x6765;&#x6E90;&#x4E8E;&#x7F51;&#x7EDC;&#xFF0C;&#x4EC5;&#x505A;&#x6574;&#x7406;</p>
</blockquote>
<h1 id="kubernetes&#x7684;&#x529F;&#x80FD;"><a name="kubernetes&#x7684;&#x529F;&#x80FD;" class="anchor-navigation-ex-anchor" href="#kubernetes&#x7684;&#x529F;&#x80FD;"><i class="fa fa-link" aria-hidden="true"></i></a>1. Kubernetes&#x7684;&#x529F;&#x80FD;</h1>
<p>&#x5BB9;&#x5668;&#x662F;&#x4E00;&#x4E2A;&#x975E;&#x5E38;&#x597D;&#x7684;&#x6253;&#x5305;&#x5E76;&#x8FD0;&#x884C;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x7684;&#x65B9;&#x5F0F;&#x3002;&#x5728;&#x751F;&#x4EA7;&#x73AF;&#x5883;&#x4E2D;&#xFF0C;&#x60A8;&#x9700;&#x8981;&#x7BA1;&#x7406;&#x5BB9;&#x5668;&#x5316;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#xFF0C;&#x5E76;&#x4E14;&#x786E;&#x4FDD;&#x5176;&#x4E0D;&#x505C;&#x673A;&#x5730;&#x8FDE;&#x7EED;&#x8FD0;&#x884C;&#x3002;&#x4F8B;&#x5982;&#xFF1A;&#x4E00;&#x4E2A;&#x5BB9;&#x5668;&#x6545;&#x969C;&#x505C;&#x673A;&#xFF0C;&#x53E6;&#x5916;&#x4E00;&#x4E2A;&#x5BB9;&#x5668;&#x9700;&#x8981;&#x7ACB;&#x523B;&#x542F;&#x52A8;&#x4EE5;&#x66FF;&#x8865;&#x505C;&#x673A;&#x7684;&#x5BB9;&#x5668;&#x3002;&#x7C7B;&#x4F3C;&#x7684;&#x8FD9;&#x79CD;&#x5BF9;&#x5BB9;&#x5668;&#x7684;&#x7BA1;&#x7406;&#x52A8;&#x4F5C;&#x7531;&#x7CFB;&#x7EDF;&#x6765;&#x6267;&#x884C;&#x4F1A;&#x66F4;&#x597D;&#x66F4;&#x5FEB;&#x901F;&#x3002;</p>
<p>Kubernetes&#x9488;&#x5BF9;&#x6B64;&#x7C7B;&#x95EE;&#x9898;&#xFF0C;&#x63D0;&#x4F9B;&#x4E86;&#x5BB9;&#x5668;&#x5316;&#x7F16;&#x6392;&#x89E3;&#x51B3;&#x65B9;&#x6848;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x4F60;&#x975E;&#x5E38;&#x5065;&#x58EE;&#x5730;&#x8FD0;&#x884C;&#x5206;&#x5E03;&#x5F0F;&#x7CFB;&#x7EDF;&#x3002;Kubernetes&#x53EF;&#x4EE5;&#x5904;&#x7406;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x7684;&#x4F38;&#x7F29;&#x3001;failover&#x3001;&#x90E8;&#x7F72;&#x6A21;&#x5F0F;&#x7B49;&#x591A;&#x79CD;&#x9700;&#x6C42;&#x3002;&#x4F8B;&#x5982;&#xFF0C;Kubernetes&#x53EF;&#x4EE5;&#x8F7B;&#x6613;&#x5730;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;&#x7684;&#x91D1;&#x4E1D;&#x96C0;&#x53D1;&#x5E03;&#xFF08;&#x7070;&#x5EA6;&#x53D1;&#x5E03;&#xFF09;&#x3002;</p>
<p>Kubernetes&#x63D0;&#x4F9B;&#x7684;&#x7279;&#x6027;&#x6709;&#xFF1A;</p>
<ul>
<li><p><strong>&#x670D;&#x52A1;&#x53D1;&#x73B0;&#x548C;&#x8D1F;&#x8F7D;&#x5747;&#x8861;</strong></p>
<p>Kubernetes &#x53EF;&#x4EE5;&#x901A;&#x8FC7; DNS &#x540D;&#x79F0;&#x6216; IP &#x5730;&#x5740;&#x66B4;&#x9732;&#x5BB9;&#x5668;&#x7684;&#x8BBF;&#x95EE;&#x65B9;&#x5F0F;&#x3002;&#x5E76;&#x4E14;&#x53EF;&#x4EE5;&#x5728;&#x540C;&#x7EC4;&#x5BB9;&#x5668;&#x5185;&#x5206;&#x53D1;&#x8D1F;&#x8F7D;&#x4EE5;&#x5B9E;&#x73B0;&#x8D1F;&#x8F7D;&#x5747;&#x8861;</p>
</li>
<li><p><strong>&#x5B58;&#x50A8;&#x7F16;&#x6392;</strong></p>
<p>Kubernetes&#x53EF;&#x4EE5;&#x81EA;&#x52A8;&#x6302;&#x8F7D;&#x6307;&#x5B9A;&#x7684;&#x5B58;&#x50A8;&#x7CFB;&#x7EDF;&#xFF0C;&#x4F8B;&#x5982; local stroage/nfs/&#x4E91;&#x5B58;&#x50A8;&#x7B49;</p>
</li>
<li><p><strong>&#x81EA;&#x52A8;&#x53D1;&#x5E03;&#x548C;&#x56DE;&#x6EDA;</strong></p>
<p>&#x60A8;&#x53EF;&#x4EE5;&#x5728; Kubernetes &#x4E2D;&#x58F0;&#x660E;&#x60A8;&#x671F;&#x671B;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x5BB9;&#x5668;&#x5E94;&#x8BE5;&#x8FBE;&#x5230;&#x7684;&#x72B6;&#x6001;&#xFF0C;Kubernetes&#x5C06;&#x4EE5;&#x5408;&#x9002;&#x7684;&#x901F;&#x7387;&#x8C03;&#x6574;&#x5BB9;&#x5668;&#x7684;&#x5B9E;&#x9645;&#x72B6;&#x6001;&#xFF0C;&#x5E76;&#x9010;&#x6B65;&#x8FBE;&#x5230;&#x6700;&#x7EC8;&#x671F;&#x671B;&#x7684;&#x7ED3;&#x679C;&#x3002;&#x8BF7;&#x53C2;&#x8003; <a href="https://kuboard.cn/learning/k8s-intermediate/workload/wl-deployment/#deployment-&#x6982;&#x8FF0;" target="_blank">&#x58F0;&#x660E;&#x5F0F;&#x7684;&#x914D;&#x7F6E;</a></p>
</li>
<li><p><strong>&#x81EA;&#x6108;</strong></p>
<p>Kubernetes&#x63D0;&#x4F9B;&#x5982;&#x4E0B;&#x81EA;&#x6108;&#x80FD;&#x529B;&#xFF1A;</p>
<ul>
<li>&#x91CD;&#x542F;&#x5DF2;&#x7ECF;&#x505C;&#x673A;&#x7684;&#x5BB9;&#x5668;</li>
<li>&#x66FF;&#x6362;&#x3001;kill &#x90A3;&#x4E9B;&#x4E0D;&#x6EE1;&#x8DB3;&#x81EA;&#x5B9A;&#x4E49;&#x5065;&#x5EB7;&#x68C0;&#x67E5;&#x6761;&#x4EF6;&#x7684;&#x5BB9;&#x5668;</li>
<li>&#x5728;&#x5BB9;&#x5668;&#x5C31;&#x7EEA;&#x4E4B;&#x524D;&#xFF0C;&#x907F;&#x514D;&#x8C03;&#x7528;&#x8005;&#x53D1;&#x73B0;&#x8BE5;&#x5BB9;&#x5668;</li>
</ul>
</li>
<li><p><strong>&#x5BC6;&#x94A5;&#x53CA;&#x914D;&#x7F6E;&#x7BA1;&#x7406;</strong></p>
<p>Kubernetes&#x53EF;&#x4EE5;&#x5B58;&#x50A8;&#x548C;&#x7BA1;&#x7406;&#x654F;&#x611F;&#x4FE1;&#x606F;&#xFF08;&#x4F8B;&#x5982;&#xFF0C;&#x5BC6;&#x7801;&#x3001;OAuth token&#x3001;ssh&#x5BC6;&#x94A5;&#x7B49;&#xFF09;&#x3002;&#x60A8;&#x53EF;&#x4EE5;&#x66F4;&#x65B0;&#x5BB9;&#x5668;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x7684;&#x5BC6;&#x94A5;&#x3001;&#x914D;&#x7F6E;&#x7B49;&#x4FE1;&#x606F;&#xFF0C;&#x800C;&#x65E0;&#x9700;&#xFF1A;</p>
<ul>
<li>&#x91CD;&#x65B0;&#x6784;&#x5EFA;&#x5BB9;&#x5668;&#x7684;&#x955C;&#x50CF;</li>
<li>&#x5728;&#x4E0D;&#x5408;&#x9002;&#x7684;&#x5730;&#x65B9;&#x66B4;&#x9732;&#x5BC6;&#x7801;&#x4FE1;&#x606F;</li>
</ul>
</li>
</ul>
<h1 id="kubernetes&#x7EC4;&#x4EF6;"><a name="kubernetes&#x7EC4;&#x4EF6;" class="anchor-navigation-ex-anchor" href="#kubernetes&#x7EC4;&#x4EF6;"><i class="fa fa-link" aria-hidden="true"></i></a>2. Kubernetes&#x7EC4;&#x4EF6;</h1>
<blockquote>
<p>&#x53C2;&#x8003;&#x6587;&#x6863;&#xFF1A; <a href="https://kubernetes.io/docs/concepts/overview/components/" target="_blank">Kubernetes Components</a></p>
</blockquote>
<p>&#x672C;&#x6587;&#x6863;&#x63CF;&#x8FF0;&#x4E86; Kubernetes &#x7684;&#x4E3B;&#x8981;&#x7EC4;&#x4EF6;&#x3002;</p>
<h2 id="master&#x7EC4;&#x4EF6;"><a name="master&#x7EC4;&#x4EF6;" class="anchor-navigation-ex-anchor" href="#master&#x7EC4;&#x4EF6;"><i class="fa fa-link" aria-hidden="true"></i></a>2.1. Master&#x7EC4;&#x4EF6;</h2>
<p>Master&#x7EC4;&#x4EF6;&#x662F;&#x96C6;&#x7FA4;&#x7684;&#x63A7;&#x5236;&#x5E73;&#x53F0;&#xFF08;control plane&#xFF09;&#xFF1A;</p>
<ul>
<li>master &#x7EC4;&#x4EF6;&#x8D1F;&#x8D23;&#x96C6;&#x7FA4;&#x4E2D;&#x7684;&#x5168;&#x5C40;&#x51B3;&#x7B56;&#xFF08;&#x4F8B;&#x5982;&#xFF0C;&#x8C03;&#x5EA6;&#xFF09;</li>
<li>master &#x7EC4;&#x4EF6;&#x63A2;&#x6D4B;&#x5E76;&#x54CD;&#x5E94;&#x96C6;&#x7FA4;&#x4E8B;&#x4EF6;&#xFF08;&#x4F8B;&#x5982;&#xFF0C;&#x5F53; Deployment &#x7684;&#x5B9E;&#x9645; Pod &#x526F;&#x672C;&#x6570;&#x672A;&#x8FBE;&#x5230; <code>replicas</code> &#x5B57;&#x6BB5;&#x7684;&#x89C4;&#x5B9A;&#x65F6;&#xFF0C;&#x542F;&#x52A8;&#x4E00;&#x4E2A;&#x65B0;&#x7684; Pod&#xFF09;</li>
</ul>
<p>Master&#x7EC4;&#x4EF6;&#x53EF;&#x4EE5;&#x8FD0;&#x884C;&#x4E8E;&#x96C6;&#x7FA4;&#x4E2D;&#x7684;&#x4EFB;&#x4F55;&#x673A;&#x5668;&#x4E0A;&#x3002;&#x4F46;&#x662F;&#xFF0C;&#x4E3A;&#x4E86;&#x7B80;&#x6D01;&#x6027;&#xFF0C;&#x901A;&#x5E38;&#x5728;&#x540C;&#x4E00;&#x53F0;&#x673A;&#x5668;&#x4E0A;&#x8FD0;&#x884C;&#x6240;&#x6709;&#x7684; master &#x7EC4;&#x4EF6;&#xFF0C;&#x4E14;&#x4E0D;&#x5728;&#x6B64;&#x673A;&#x5668;&#x4E0A;&#x8FD0;&#x884C;&#x7528;&#x6237;&#x7684;&#x5BB9;&#x5668;&#x3002;&#x53C2;&#x8003; <a href="https://kuboard.cn/install/install-kubernetes.html" target="_blank">&#x5B89;&#x88C5;Kubernetes&#x9AD8;&#x53EF;&#x7528;</a>&#x3002;</p>
<h3 id="kube-apiserver"><a name="kube-apiserver" class="anchor-navigation-ex-anchor" href="#kube-apiserver"><i class="fa fa-link" aria-hidden="true"></i></a>2.1.1. kube-apiserver</h3>
<p>&#x6B64; master &#x7EC4;&#x4EF6;&#x63D0;&#x4F9B; Kubernetes API&#x3002;&#x8FD9;&#x662F;Kubernetes&#x63A7;&#x5236;&#x5E73;&#x53F0;&#x7684;&#x524D;&#x7AEF;&#xFF08;front-end&#xFF09;&#xFF0C;&#x53EF;&#x4EE5;&#x6C34;&#x5E73;&#x6269;&#x5C55;&#xFF08;&#x901A;&#x8FC7;&#x90E8;&#x7F72;&#x66F4;&#x591A;&#x7684;&#x5B9E;&#x4F8B;&#x4EE5;&#x8FBE;&#x5230;&#x6027;&#x80FD;&#x8981;&#x6C42;&#xFF09;&#x3002;kubectl / kubernetes dashboard / kuboard &#x7B49;Kubernetes&#x7BA1;&#x7406;&#x5DE5;&#x5177;&#x5C31;&#x662F;&#x901A;&#x8FC7; kubernetes API &#x5B9E;&#x73B0;&#x5BF9; Kubernetes &#x96C6;&#x7FA4;&#x7684;&#x7BA1;&#x7406;&#x3002;</p>
<h3 id="etcd"><a name="etcd" class="anchor-navigation-ex-anchor" href="#etcd"><i class="fa fa-link" aria-hidden="true"></i></a>2.1.2. etcd</h3>
<p>&#x652F;&#x6301;&#x4E00;&#x81F4;&#x6027;&#x548C;&#x9AD8;&#x53EF;&#x7528;&#x7684;&#x540D;&#x503C;&#x5BF9;&#x5B58;&#x50A8;&#x7EC4;&#x4EF6;&#xFF0C;Kubernetes&#x96C6;&#x7FA4;&#x7684;&#x6240;&#x6709;&#x914D;&#x7F6E;&#x4FE1;&#x606F;&#x90FD;&#x5B58;&#x50A8;&#x5728; etcd &#x4E2D;&#x3002;&#x8BF7;&#x786E;&#x4FDD;&#x60A8; <a href="https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/#backing-up-an-etcd-cluster" target="_blank">&#x5907;&#x4EFD;</a> &#x4E86; etcd &#x7684;&#x6570;&#x636E;&#x3002;&#x5173;&#x4E8E; etcd &#x7684;&#x66F4;&#x591A;&#x4FE1;&#x606F;&#xFF0C;&#x53EF;&#x53C2;&#x8003; <a href="https://etcd.io/docs/" target="_blank">etcd &#x5B98;&#x65B9;&#x6587;&#x6863;</a></p>
<h3 id="kube-scheduler"><a name="kube-scheduler" class="anchor-navigation-ex-anchor" href="#kube-scheduler"><i class="fa fa-link" aria-hidden="true"></i></a>2.1.3. kube-scheduler</h3>
<p>&#x6B64; master &#x7EC4;&#x4EF6;&#x76D1;&#x63A7;&#x6240;&#x6709;&#x65B0;&#x521B;&#x5EFA;&#x5C1A;&#x672A;&#x5206;&#x914D;&#x5230;&#x8282;&#x70B9;&#x4E0A;&#x7684; Pod&#xFF0C;&#x5E76;&#x4E14;&#x81EA;&#x52A8;&#x9009;&#x62E9;&#x4E3A; Pod &#x9009;&#x62E9;&#x4E00;&#x4E2A;&#x5408;&#x9002;&#x7684;&#x8282;&#x70B9;&#x53BB;&#x8FD0;&#x884C;&#x3002;</p>
<p>&#x5F71;&#x54CD;&#x8C03;&#x5EA6;&#x7684;&#x56E0;&#x7D20;&#x6709;&#xFF1A;</p>
<ul>
<li>&#x5355;&#x4E2A;&#x6216;&#x591A;&#x4E2A; Pod &#x7684;&#x8D44;&#x6E90;&#x9700;&#x6C42;</li>
<li>&#x786C;&#x4EF6;&#x3001;&#x8F6F;&#x4EF6;&#x3001;&#x7B56;&#x7565;&#x7684;&#x9650;&#x5236;</li>
<li>&#x4EB2;&#x548C;&#x4E0E;&#x53CD;&#x4EB2;&#x548C;&#xFF08;affinity and anti-affinity&#xFF09;&#x7684;&#x7EA6;&#x5B9A;</li>
<li>&#x6570;&#x636E;&#x672C;&#x5730;&#x5316;&#x8981;&#x6C42;</li>
<li>&#x5DE5;&#x4F5C;&#x8D1F;&#x8F7D;&#x95F4;&#x7684;&#x76F8;&#x4E92;&#x4F5C;&#x7528;</li>
</ul>
<h3 id="kube-controller-manager"><a name="kube-controller-manager" class="anchor-navigation-ex-anchor" href="#kube-controller-manager"><i class="fa fa-link" aria-hidden="true"></i></a>2.1.4. kube-controller-manager</h3>
<p>&#x6B64; master &#x7EC4;&#x4EF6;&#x8FD0;&#x884C;&#x4E86;&#x6240;&#x6709;&#x7684;&#x63A7;&#x5236;&#x5668;</p>
<p>&#x903B;&#x8F91;&#x4E0A;&#x6765;&#x8BF4;&#xFF0C;&#x6BCF;&#x4E00;&#x4E2A;&#x63A7;&#x5236;&#x5668;&#x662F;&#x4E00;&#x4E2A;&#x72EC;&#x7ACB;&#x7684;&#x8FDB;&#x7A0B;&#xFF0C;&#x4F46;&#x662F;&#x4E3A;&#x4E86;&#x964D;&#x4F4E;&#x590D;&#x6742;&#x5EA6;&#xFF0C;&#x8FD9;&#x4E9B;&#x63A7;&#x5236;&#x5668;&#x90FD;&#x88AB;&#x5408;&#x5E76;&#x8FD0;&#x884C;&#x5728;&#x4E00;&#x4E2A;&#x8FDB;&#x7A0B;&#x91CC;&#x3002;</p>
<p>kube-controller-manager &#x4E2D;&#x5305;&#x542B;&#x7684;&#x63A7;&#x5236;&#x5668;&#x6709;&#xFF1A;</p>
<ul>
<li>&#x8282;&#x70B9;&#x63A7;&#x5236;&#x5668;&#xFF1A; &#x8D1F;&#x8D23;&#x76D1;&#x542C;&#x8282;&#x70B9;&#x505C;&#x673A;&#x7684;&#x4E8B;&#x4EF6;&#x5E76;&#x4F5C;&#x51FA;&#x5BF9;&#x5E94;&#x54CD;&#x5E94;</li>
<li>&#x526F;&#x672C;&#x63A7;&#x5236;&#x5668;&#xFF1A; &#x8D1F;&#x8D23;&#x4E3A;&#x96C6;&#x7FA4;&#x4E2D;&#x6BCF;&#x4E00;&#x4E2A; &#x526F;&#x672C;&#x63A7;&#x5236;&#x5668;&#x5BF9;&#x8C61;&#xFF08;Replication Controller Object&#xFF09;&#x7EF4;&#x62A4;&#x671F;&#x671B;&#x7684; Pod &#x526F;&#x672C;&#x6570;</li>
<li>&#x7AEF;&#x70B9;&#xFF08;Endpoints&#xFF09;&#x63A7;&#x5236;&#x5668;&#xFF1A;&#x8D1F;&#x8D23;&#x4E3A;&#x7AEF;&#x70B9;&#x5BF9;&#x8C61;&#xFF08;Endpoints Object&#xFF0C;&#x8FDE;&#x63A5; Service &#x548C; Pod&#xFF09;&#x8D4B;&#x503C;</li>
<li>Service Account &amp; Token&#x63A7;&#x5236;&#x5668;&#xFF1A; &#x8D1F;&#x8D23;&#x4E3A;&#x65B0;&#x7684;&#x540D;&#x79F0;&#x7A7A;&#x95F4;&#x521B;&#x5EFA; default Service Account &#x4EE5;&#x53CA; API Access Token</li>
</ul>
<h3 id="cloud-controller-manager"><a name="cloud-controller-manager" class="anchor-navigation-ex-anchor" href="#cloud-controller-manager"><i class="fa fa-link" aria-hidden="true"></i></a>2.1.5. cloud-controller-manager</h3>
<p>cloud-controller-manager &#x4E2D;&#x8FD0;&#x884C;&#x4E86;&#x4E0E;&#x5177;&#x4F53;&#x4E91;&#x57FA;&#x7840;&#x8BBE;&#x65BD;&#x4F9B;&#x5E94;&#x5546;&#x4E92;&#x52A8;&#x7684;&#x63A7;&#x5236;&#x5668;&#x3002;&#x8FD9;&#x662F; Kubernetes 1.6 &#x7248;&#x672C;&#x4E2D;&#x5F15;&#x5165;&#x7684;&#x7279;&#x6027;&#xFF0C;&#x5C1A;&#x5904;&#x5728; alpha &#x9636;&#x6BB5;&#x3002;</p>
<p>cloud-controller-manager &#x53EA;&#x8FD0;&#x884C;&#x7279;&#x5B9A;&#x4E8E;&#x4E91;&#x57FA;&#x7840;&#x8BBE;&#x65BD;&#x4F9B;&#x5E94;&#x5546;&#x7684;&#x63A7;&#x5236;&#x5668;&#x3002;&#x5982;&#x679C;&#x60A8;&#x53C2;&#x8003; www.kuboard.cn &#x4E0A;&#x63D0;&#x4F9B;&#x7684;&#x6587;&#x6863;&#x5B89;&#x88C5; Kubernetes &#x96C6;&#x7FA4;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E0D;&#x5B89;&#x88C5; cloud-controller-manager&#x3002;</p>
<p>cloud-controller-manager &#x4F7F;&#x5F97;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x7684;&#x4EE3;&#x7801;&#x548C; Kubernetes &#x7684;&#x4EE3;&#x7801;&#x53EF;&#x4EE5;&#x5404;&#x81EA;&#x72EC;&#x7ACB;&#x7684;&#x6F14;&#x5316;&#x3002;&#x5728;&#x6B64;&#x4E4B;&#x524D;&#x7684;&#x7248;&#x672C;&#x4E2D;&#xFF0C;Kubernetes&#x7684;&#x6838;&#x5FC3;&#x4EE3;&#x7801;&#x662F;&#x4F9D;&#x8D56;&#x4E8E;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x7684;&#x4EE3;&#x7801;&#x7684;&#x3002;&#x5728;&#x540E;&#x7EED;&#x7684;&#x7248;&#x672C;&#x4E2D;&#xFF0C;&#x7279;&#x5B9A;&#x4E8E;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x7684;&#x4EE3;&#x7801;&#x5C06;&#x7531;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x81EA;&#x884C;&#x7EF4;&#x62A4;&#xFF0C;&#x5E76;&#x5728;&#x8FD0;&#x884C;Kubernetes&#x65F6;&#x94FE;&#x63A5;&#x5230; cloud-controller-manager&#x3002;</p>
<p>&#x4EE5;&#x4E0B;&#x63A7;&#x5236;&#x5668;&#x4E2D;&#x5305;&#x542B;&#x4E0E;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x76F8;&#x5173;&#x7684;&#x4F9D;&#x8D56;&#xFF1A;</p>
<ul>
<li><p>&#x8282;&#x70B9;&#x63A7;&#x5236;&#x5668;&#xFF1A;&#x5F53;&#x67D0;&#x4E00;&#x4E2A;&#x8282;&#x70B9;&#x505C;&#x6B62;&#x54CD;&#x5E94;&#x65F6;&#xFF0C;&#x8C03;&#x7528;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x7684;&#x63A5;&#x53E3;&#xFF0C;&#x4EE5;&#x68C0;&#x67E5;&#x8BE5;&#x8282;&#x70B9;&#x7684;&#x865A;&#x62DF;&#x673A;&#x662F;&#x5426;&#x5DF2;&#x7ECF;&#x88AB;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x5220;&#x9664;</p>
<blockquote>
<p>&#x8BD1;&#x8005;&#x6CE8;&#xFF1A;&#x79C1;&#x6709;&#x5316;&#x90E8;&#x7F72;Kubernetes&#x65F6;&#xFF0C;&#x6211;&#x4EEC;&#x4E0D;&#x77E5;&#x9053;&#x8282;&#x70B9;&#x7684;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x662F;&#x5426;&#x5220;&#x9664;&#xFF0C;&#x6240;&#x4EE5;&#x5728;&#x79FB;&#x9664;&#x8282;&#x70B9;&#x540E;&#xFF0C;&#x8981;&#x81EA;&#x884C;&#x901A;&#x8FC7; <code>kubectl delete node</code> &#x5C06;&#x8282;&#x70B9;&#x5BF9;&#x8C61;&#x4ECE; Kubernetes &#x4E2D;&#x5220;&#x9664;</p>
</blockquote>
</li>
<li><p>&#x8DEF;&#x7531;&#x63A7;&#x5236;&#x5668;&#xFF1A;&#x5728;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x7684;&#x57FA;&#x7840;&#x8BBE;&#x65BD;&#x4E2D;&#x8BBE;&#x5B9A;&#x7F51;&#x7EDC;&#x8DEF;&#x7531;</p>
<blockquote>
<p>&#x8BD1;&#x8005;&#x6CE8;&#xFF1A;&#x79C1;&#x6709;&#x5316;&#x90E8;&#x7F72;Kubernetes&#x65F6;&#xFF0C;&#x9700;&#x8981;&#x81EA;&#x884C;&#x89C4;&#x5212;Kubernetes&#x7684;&#x62D3;&#x6251;&#x7ED3;&#x6784;&#xFF0C;&#x5E76;&#x505A;&#x597D;&#x8DEF;&#x7531;&#x914D;&#x7F6E;&#xFF0C;&#x4F8B;&#x5982; <a href="https://kuboard.cn/install/install-k8s.html" target="_blank">&#x5B89;&#x88C5;Kubernetes&#x5355;Master&#x8282;&#x70B9;</a> &#x4E2D;&#x6240;&#x4F5C;&#x7684;</p>
</blockquote>
</li>
<li><p>&#x670D;&#x52A1;&#xFF08;Service&#xFF09;&#x63A7;&#x5236;&#x5668;&#xFF1A;&#x521B;&#x5EFA;&#x3001;&#x66F4;&#x65B0;&#x3001;&#x5220;&#x9664;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x63D0;&#x4F9B;&#x7684;&#x8D1F;&#x8F7D;&#x5747;&#x8861;&#x5668;</p>
<blockquote>
<p>&#x8BD1;&#x8005;&#x6CE8;&#xFF1A;&#x79C1;&#x6709;&#x5316;&#x90E8;&#x7F72;Kubernetes&#x65F6;&#xFF0C;&#x4E0D;&#x652F;&#x6301; LoadBalancer &#x7C7B;&#x578B;&#x7684; Service&#xFF0C;&#x5982;&#x9700;&#x8981;&#x6B64;&#x7279;&#x6027;&#xFF0C;&#x9700;&#x8981;&#x521B;&#x5EFA; NodePort &#x7C7B;&#x578B;&#x7684; Service&#xFF0C;&#x5E76;&#x81EA;&#x884C;&#x914D;&#x7F6E;&#x8D1F;&#x8F7D;&#x5747;&#x8861;&#x5668;</p>
</blockquote>
</li>
<li><p>&#x6570;&#x636E;&#x5377;&#xFF08;Volume&#xFF09;&#x63A7;&#x5236;&#x5668;&#xFF1A;&#x521B;&#x5EFA;&#x3001;&#x7ED1;&#x5B9A;&#x3001;&#x6302;&#x8F7D;&#x6570;&#x636E;&#x5377;&#xFF0C;&#x5E76;&#x534F;&#x8C03;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x7F16;&#x6392;&#x6570;&#x636E;&#x5377;</p>
<blockquote>
<p>&#x8BD1;&#x8005;&#x6CE8;&#xFF1A;&#x79C1;&#x6709;&#x5316;&#x90E8;&#x7F72;Kubernetes&#x65F6;&#xFF0C;&#x9700;&#x8981;&#x81EA;&#x884C;&#x521B;&#x5EFA;&#x548C;&#x7BA1;&#x7406;&#x5B58;&#x50A8;&#x8D44;&#x6E90;&#xFF0C;&#x5E76;&#x901A;&#x8FC7;Kubernetes&#x7684;<a href="https://kuboard.cn/learning/k8s-intermediate/persistent/storage-class.html" target="_blank">&#x5B58;&#x50A8;&#x7C7B;</a>&#x3001;<a href="https://kuboard.cn/learning/k8s-intermediate/persistent/pv.html" target="_blank">&#x5B58;&#x50A8;&#x5377;</a>&#x3001;<a href="https://kuboard.cn/learning/k8s-intermediate/persistent/volume.html" target="_blank">&#x6570;&#x636E;&#x5377;</a>&#x7B49;&#x4E0E;&#x4E4B;&#x5173;&#x8054;</p>
</blockquote>
</li>
</ul>
<blockquote>
<p>&#x8BD1;&#x8005;&#x6CE8;&#xFF1A;&#x901A;&#x8FC7; cloud-controller-manager&#xFF0C;Kubernetes&#x53EF;&#x4EE5;&#x66F4;&#x597D;&#x5730;&#x4E0E;&#x4E91;&#x4F9B;&#x5E94;&#x5546;&#x7ED3;&#x5408;&#xFF0C;&#x4F8B;&#x5982;&#xFF0C;&#x5728;&#x963F;&#x91CC;&#x4E91;&#x7684; Kubernetes &#x670D;&#x52A1;&#x91CC;&#xFF0C;&#x60A8;&#x53EF;&#x4EE5;&#x5728;&#x4E91;&#x63A7;&#x5236;&#x53F0;&#x754C;&#x9762;&#x4E0A;&#x8F7B;&#x677E;&#x70B9;&#x51FB;&#x9F20;&#x6807;&#xFF0C;&#x5373;&#x53EF;&#x5B8C;&#x6210; Kubernetes &#x96C6;&#x7FA4;&#x7684;&#x521B;&#x5EFA;&#x548C;&#x7BA1;&#x7406;&#x3002;&#x5728;&#x79C1;&#x6709;&#x5316;&#x90E8;&#x7F72;&#x73AF;&#x5883;&#x65F6;&#xFF0C;&#x60A8;&#x5FC5;&#x987B;&#x81EA;&#x884C;&#x5904;&#x7406;&#x66F4;&#x591A;&#x7684;&#x5185;&#x5BB9;&#x3002;&#x5E78;&#x8FD0;&#x7684;&#x662F;&#xFF0C;&#x901A;&#x8FC7;&#x5408;&#x9002;&#x7684;&#x6559;&#x7A0B;&#x6307;&#x5F15;&#xFF0C;&#x8FD9;&#x4E9B;&#x4EFB;&#x52A1;&#x7684;&#x8FBE;&#x6210;&#x5E76;&#x4E0D;&#x56F0;&#x96BE;&#x3002;</p>
</blockquote>
<h2 id="node-&#x7EC4;&#x4EF6;"><a name="node-&#x7EC4;&#x4EF6;" class="anchor-navigation-ex-anchor" href="#node-&#x7EC4;&#x4EF6;"><i class="fa fa-link" aria-hidden="true"></i></a>2.2. Node &#x7EC4;&#x4EF6;</h2>
<p>Node &#x7EC4;&#x4EF6;&#x8FD0;&#x884C;&#x5728;&#x6BCF;&#x4E00;&#x4E2A;&#x8282;&#x70B9;&#x4E0A;&#xFF08;&#x5305;&#x62EC; master &#x8282;&#x70B9;&#x548C; worker &#x8282;&#x70B9;&#xFF09;&#xFF0C;&#x8D1F;&#x8D23;&#x7EF4;&#x62A4;&#x8FD0;&#x884C;&#x4E2D;&#x7684; Pod &#x5E76;&#x63D0;&#x4F9B; Kubernetes &#x8FD0;&#x884C;&#x65F6;&#x73AF;&#x5883;&#x3002;</p>
<h3 id="kubelet"><a name="kubelet" class="anchor-navigation-ex-anchor" href="#kubelet"><i class="fa fa-link" aria-hidden="true"></i></a>2.2.1. kubelet</h3>
<p>&#x6B64;&#x7EC4;&#x4EF6;&#x662F;&#x8FD0;&#x884C;&#x5728;&#x6BCF;&#x4E00;&#x4E2A;&#x96C6;&#x7FA4;&#x8282;&#x70B9;&#x4E0A;&#x7684;&#x4EE3;&#x7406;&#x7A0B;&#x5E8F;&#x3002;&#x5B83;&#x786E;&#x4FDD; Pod &#x4E2D;&#x7684;&#x5BB9;&#x5668;&#x5904;&#x4E8E;&#x8FD0;&#x884C;&#x72B6;&#x6001;&#x3002;Kubelet &#x901A;&#x8FC7;&#x591A;&#x79CD;&#x9014;&#x5F84;&#x83B7;&#x5F97; PodSpec &#x5B9A;&#x4E49;&#xFF0C;&#x5E76;&#x786E;&#x4FDD; PodSpec &#x5B9A;&#x4E49;&#x4E2D;&#x6240;&#x63CF;&#x8FF0;&#x7684;&#x5BB9;&#x5668;&#x5904;&#x4E8E;&#x8FD0;&#x884C;&#x548C;&#x5065;&#x5EB7;&#x7684;&#x72B6;&#x6001;&#x3002;Kubelet&#x4E0D;&#x7BA1;&#x7406;&#x4E0D;&#x662F;&#x901A;&#x8FC7; Kubernetes &#x521B;&#x5EFA;&#x7684;&#x5BB9;&#x5668;&#x3002;</p>
<h3 id="kube-proxy"><a name="kube-proxy" class="anchor-navigation-ex-anchor" href="#kube-proxy"><i class="fa fa-link" aria-hidden="true"></i></a>2.2.2. kube-proxy</h3>
<p><a href="https://kuboard.cn/learning/k8s-intermediate/service/service-details.html#&#x865A;&#x62DF;-ip-&#x548C;&#x670D;&#x52A1;&#x4EE3;&#x7406;" target="_blank">kube-proxy</a> &#x662F;&#x4E00;&#x4E2A;&#x7F51;&#x7EDC;&#x4EE3;&#x7406;&#x7A0B;&#x5E8F;&#xFF0C;&#x8FD0;&#x884C;&#x5728;&#x96C6;&#x7FA4;&#x4E2D;&#x7684;&#x6BCF;&#x4E00;&#x4E2A;&#x8282;&#x70B9;&#x4E0A;&#xFF0C;&#x662F;&#x5B9E;&#x73B0; Kubernetes Service &#x6982;&#x5FF5;&#x7684;&#x91CD;&#x8981;&#x90E8;&#x5206;&#x3002;</p>
<p>kube-proxy &#x5728;&#x8282;&#x70B9;&#x4E0A;&#x7EF4;&#x62A4;&#x7F51;&#x7EDC;&#x89C4;&#x5219;&#x3002;&#x8FD9;&#x4E9B;&#x7F51;&#x7EDC;&#x89C4;&#x5219;&#x4F7F;&#x5F97;&#x60A8;&#x53EF;&#x4EE5;&#x5728;&#x96C6;&#x7FA4;&#x5185;&#x3001;&#x96C6;&#x7FA4;&#x5916;&#x6B63;&#x786E;&#x5730;&#x4E0E; Pod &#x8FDB;&#x884C;&#x7F51;&#x7EDC;&#x901A;&#x4FE1;&#x3002;&#x5982;&#x679C;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x4E2D;&#x5B58;&#x5728; packet filtering layer&#xFF0C;kube-proxy &#x5C06;&#x4F7F;&#x7528;&#x8FD9;&#x4E00;&#x7279;&#x6027;&#xFF08;<a href="https://kuboard.cn/learning/k8s-intermediate/service/service-details.html#iptables-&#x4EE3;&#x7406;&#x6A21;&#x5F0F;" target="_blank">iptables&#x4EE3;&#x7406;&#x6A21;&#x5F0F;</a>&#xFF09;&#xFF0C;&#x5426;&#x5219;&#xFF0C;kube-proxy&#x5C06;&#x81EA;&#x884C;&#x8F6C;&#x53D1;&#x7F51;&#x7EDC;&#x8BF7;&#x6C42;&#xFF08;<a href="https://kuboard.cn/learning/k8s-intermediate/service/service-details.html#user-space-&#x4EE3;&#x7406;&#x6A21;&#x5F0F;" target="_blank">User space&#x4EE3;&#x7406;&#x6A21;&#x5F0F;</a>&#xFF09;</p>
<h3 id="&#x5BB9;&#x5668;&#x5F15;&#x64CE;"><a name="&#x5BB9;&#x5668;&#x5F15;&#x64CE;" class="anchor-navigation-ex-anchor" href="#&#x5BB9;&#x5668;&#x5F15;&#x64CE;"><i class="fa fa-link" aria-hidden="true"></i></a>2.2.3. &#x5BB9;&#x5668;&#x5F15;&#x64CE;</h3>
<p>&#x5BB9;&#x5668;&#x5F15;&#x64CE;&#x8D1F;&#x8D23;&#x8FD0;&#x884C;&#x5BB9;&#x5668;&#x3002;Kubernetes&#x652F;&#x6301;&#x591A;&#x79CD;&#x5BB9;&#x5668;&#x5F15;&#x64CE;&#xFF1A;<a href="http://www.docker.com/" target="_blank">Docker</a>&#x3001;<a href="https://containerd.io/" target="_blank">containerd</a>&#x3001;<a href="https://cri-o.io/" target="_blank">cri-o</a>&#x3001;<a href="https://github.com/kubernetes-incubator/rktlet" target="_blank">rktlet</a> &#x4EE5;&#x53CA;&#x4EFB;&#x4F55;&#x5B9E;&#x73B0;&#x4E86; <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/sig-node/container-runtime-interface.md" target="_blank">Kubernetes&#x5BB9;&#x5668;&#x5F15;&#x64CE;&#x63A5;&#x53E3;</a> &#x7684;&#x5BB9;&#x5668;&#x5F15;&#x64CE;</p>
<h2 id="addons"><a name="addons" class="anchor-navigation-ex-anchor" href="#addons"><i class="fa fa-link" aria-hidden="true"></i></a>2.3. Addons</h2>
<p>Addons &#x4F7F;&#x7528; Kubernetes &#x8D44;&#x6E90;&#xFF08;DaemonSet&#x3001;Deployment&#x7B49;&#xFF09;&#x5B9E;&#x73B0;&#x96C6;&#x7FA4;&#x7684;&#x529F;&#x80FD;&#x7279;&#x6027;&#x3002;&#x7531;&#x4E8E;&#x4ED6;&#x4EEC;&#x63D0;&#x4F9B;&#x96C6;&#x7FA4;&#x7EA7;&#x522B;&#x7684;&#x529F;&#x80FD;&#x7279;&#x6027;&#xFF0C;addons&#x4F7F;&#x7528;&#x5230;&#x7684;Kubernetes&#x8D44;&#x6E90;&#x90FD;&#x653E;&#x7F6E;&#x5728; <code>kube-system</code> &#x540D;&#x79F0;&#x7A7A;&#x95F4;&#x4E0B;&#x3002;</p>
<p>&#x4E0B;&#x9762;&#x63CF;&#x8FF0;&#x4E86;&#x4E00;&#x4E9B;&#x7ECF;&#x5E38;&#x7528;&#x5230;&#x7684; addons&#xFF0C;&#x53C2;&#x8003; <a href="https://kubernetes.io/docs/concepts/cluster-administration/addons/" target="_blank">Addons</a> &#x67E5;&#x770B;&#x66F4;&#x591A;&#x5217;&#x8868;&#x3002;</p>
<h3 id="dns"><a name="dns" class="anchor-navigation-ex-anchor" href="#dns"><i class="fa fa-link" aria-hidden="true"></i></a>2.3.1. DNS</h3>
<p>&#x9664;&#x4E86; DNS Addon &#x4EE5;&#x5916;&#xFF0C;&#x5176;&#x4ED6;&#x7684; addon &#x90FD;&#x4E0D;&#x662F;&#x5FC5;&#x987B;&#x7684;&#xFF0C;&#x6240;&#x6709; Kubernetes &#x96C6;&#x7FA4;&#x90FD;&#x5E94;&#x8BE5;&#x6709; <a href="https://kuboard.cn/learning/k8s-intermediate/service/dns.html" target="_blank">Cluster DNS</a></p>
<p>Cluster DNS &#x662F;&#x4E00;&#x4E2A; DNS &#x670D;&#x52A1;&#x5668;&#xFF0C;&#x662F;&#x5BF9;&#x60A8;&#x5DF2;&#x6709;&#x73AF;&#x5883;&#x4E2D;&#x5176;&#x4ED6; DNS &#x670D;&#x52A1;&#x5668;&#x7684;&#x4E00;&#x4E2A;&#x8865;&#x5145;&#xFF0C;&#x5B58;&#x653E;&#x4E86; Kubernetes Service &#x7684; DNS &#x8BB0;&#x5F55;&#x3002;</p>
<p>Kubernetes &#x542F;&#x52A8;&#x5BB9;&#x5668;&#x65F6;&#xFF0C;&#x81EA;&#x52A8;&#x5C06;&#x8BE5; DNS &#x670D;&#x52A1;&#x5668;&#x52A0;&#x5165;&#x5230;&#x5BB9;&#x5668;&#x7684; DNS &#x641C;&#x7D22;&#x5217;&#x8868;&#x4E2D;&#x3002;</p>
<blockquote>
<p>&#x5982;&#x679C;&#x60A8;&#x53C2;&#x8003; www.kuboard.cn &#x4E0A;&#x63D0;&#x4F9B;&#x7684;&#x6587;&#x6863;&#x5B89;&#x88C5; Kubernetes&#xFF0C;&#x9ED8;&#x8BA4;&#x5DF2;&#x7ECF;&#x5B89;&#x88C5;&#x4E86; <a href="https://coredns.io/" target="_blank">Core DNS</a></p>
</blockquote>
<h3 id="web-ui&#xFF08;dashboard&#xFF09;"><a name="web-ui&#xFF08;dashboard&#xFF09;" class="anchor-navigation-ex-anchor" href="#web-ui&#xFF08;dashboard&#xFF09;"><i class="fa fa-link" aria-hidden="true"></i></a>2.3.2. Web UI&#xFF08;Dashboard&#xFF09;</h3>
<p><a href="https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/" target="_blank">Dashboard</a> &#x662F;&#x4E00;&#x4E2A;Kubernetes&#x96C6;&#x7FA4;&#x7684; Web &#x7BA1;&#x7406;&#x754C;&#x9762;&#x3002;&#x7528;&#x6237;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x8BE5;&#x754C;&#x9762;&#x7BA1;&#x7406;&#x96C6;&#x7FA4;&#x3002;</p>
<h3 id="kuboard"><a name="kuboard" class="anchor-navigation-ex-anchor" href="#kuboard"><i class="fa fa-link" aria-hidden="true"></i></a>2.3.3. Kuboard</h3>
<p><a href="https://kuboard.cn/install/install-dashboard.html" target="_blank">Kuboard</a> &#x662F;&#x4E00;&#x6B3E;&#x57FA;&#x4E8E;Kubernetes&#x7684;&#x5FAE;&#x670D;&#x52A1;&#x7BA1;&#x7406;&#x754C;&#x9762;&#xFF0C;&#x76F8;&#x8F83;&#x4E8E; Dashboard&#xFF0C;Kuboard &#x5F3A;&#x8C03;&#xFF1A;</p>
<ul>
<li>&#x65E0;&#x9700;&#x624B;&#x5DE5;&#x7F16;&#x5199; YAML &#x6587;&#x4EF6;</li>
<li>&#x5FAE;&#x670D;&#x52A1;&#x53C2;&#x8003;&#x67B6;&#x6784;</li>
<li>&#x4E0A;&#x4E0B;&#x6587;&#x76F8;&#x5173;&#x7684;&#x76D1;&#x63A7;</li>
<li>&#x573A;&#x666F;&#x5316;&#x7684;&#x8BBE;&#x8BA1;<ul>
<li>&#x5BFC;&#x51FA;&#x914D;&#x7F6E;</li>
<li>&#x5BFC;&#x5165;&#x914D;&#x7F6E;</li>
</ul>
</li>
</ul>
<h3 id="containerresource-monitoring"><a name="containerresource-monitoring" class="anchor-navigation-ex-anchor" href="#containerresource-monitoring"><i class="fa fa-link" aria-hidden="true"></i></a>2.3.4. ContainerResource Monitoring</h3>
<p><a href="https://kubernetes.io/docs/tasks/debug-application-cluster/resource-usage-monitoring/" target="_blank">Container Resource Monitoring</a> &#x5C06;&#x5BB9;&#x5668;&#x7684;&#x5EA6;&#x91CF;&#x6307;&#x6807;&#xFF08;metrics&#xFF09;&#x8BB0;&#x5F55;&#x5728;&#x65F6;&#x95F4;&#x5E8F;&#x5217;&#x6570;&#x636E;&#x5E93;&#x4E2D;&#xFF0C;&#x5E76;&#x63D0;&#x4F9B;&#x4E86; UI &#x754C;&#x9762;&#x67E5;&#x770B;&#x8FD9;&#x4E9B;&#x6570;&#x636E;</p>
<h3 id="cluster-level-logging"><a name="cluster-level-logging" class="anchor-navigation-ex-anchor" href="#cluster-level-logging"><i class="fa fa-link" aria-hidden="true"></i></a>2.3.5. Cluster-level Logging</h3>
<p><a href="https://kubernetes.io/docs/concepts/cluster-administration/logging/" target="_blank">Cluster-level logging</a> &#x673A;&#x5236;&#x8D1F;&#x8D23;&#x5C06;&#x5BB9;&#x5668;&#x7684;&#x65E5;&#x5FD7;&#x5B58;&#x50A8;&#x5230;&#x4E00;&#x4E2A;&#x7EDF;&#x4E00;&#x5B58;&#x50A8;&#x4E2D;&#xFF0C;&#x5E76;&#x63D0;&#x4F9B;&#x641C;&#x7D22;&#x6D4F;&#x89C8;&#x7684;&#x754C;&#x9762; </p>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; AGou 2020 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2020-03-02 20:42:24
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: K8s">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="K8s安装与部署.html" class="navigation navigation-next " aria-label="Next page: K8s安装与部署">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"K8s基础知识","level":"1.9.2.1","depth":3,"next":{"title":"K8s安装与部署","level":"1.9.2.2","depth":3,"path":"Docker&K8s/K8s/K8s安装与部署.md","ref":"Docker&K8s/K8s/K8s安装与部署.md","articles":[]},"previous":{"title":"K8s","level":"1.9.2","depth":2,"path":"Docker&K8s/K8s/README.md","ref":"Docker&K8s/K8s/README.md","articles":[{"title":"K8s基础知识","level":"1.9.2.1","depth":3,"path":"Docker&K8s/K8s/K8s基础知识.md","ref":"Docker&K8s/K8s/K8s基础知识.md","articles":[]},{"title":"K8s安装与部署","level":"1.9.2.2","depth":3,"path":"Docker&K8s/K8s/K8s安装与部署.md","ref":"Docker&K8s/K8s/K8s安装与部署.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["github@^2.0.0","edit-link@^2.0.2","anchors@^0.7.1","include-codeblock@^3.0.2","tbfed-pagefooter@^0.0.1","expandable-chapters-small@^0.1.7","anchor-navigation-ex@0.1.8","prism","-highlight","insert-logo","-lunr","-search","search-pro","splitter","lightbox","github-buttons","-sharing","sharing-plus","donate","code","-klipse","livereload"],"root":".","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright © AGou 2020","modify_label":"该文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"prism":{"css":["prismjs/themes/prism-tomorrow.css"]},"github":{"url":"https://github.com/AGou-ops"},"livereload":{},"splitter":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"code":{"copyButtons":true},"donate":{"alipay":"https://agou-ops.github.io/images/alipay.png","alipayText":"支付宝打赏","button":"打赏","title":"","wechat":"https://agou-ops.github.io/images/wechatpay.png","wechatText":"微信打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"anchor-navigation-ex":{"isRewritePageTitle":true,"tocLevel1Icon":"fa fa-hand-o-right","tocLevel2Icon":"fa fa-hand-o-right","tocLevel3Icon":"fa fa-hand-o-right"},"lightbox":{"jquery":true,"sameUuid":false},"github-buttons":{"repo":"AGou-ops/myStudyNote","types":["star","watch","fork"],"size":"small"},"expandable-chapters-small":{},"include-codeblock":{"check":false,"edit":true,"fixlang":false,"lang":"","template":"ace","theme":"chrome","unindent":true},"sharing":{"qq":true,"all":["douban","facebook","google","hatenaBookmark","instapaper","linkedin","twitter","weibo","messenger","qq","qzone","viber","vk","weibo","pocket","stumbleupon","whatsapp"],"douban":false,"facebook":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":true,"linkedin":false},"edit-link":{"label":"Edit This Page","base":"https://github.com/AGou-ops/myStudyNote"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchors":{},"insert-logo":{"style":"background: none; max-height: 50px; min-height: 50px","url":"https://s2.ax1x.com/2019/12/10/QBD0xO.jpg"}},"theme":"default","author":"AGou","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"AGou's StudyNote","language":"zh-hans","output.name":"site","links":{"sidebar":{"◆点击进入我的个人博客":"http://agou-ops.github.io"}},"gitbook":"3.2.3","description":"岂能尽如人意，但求无愧我心。"},"file":{"path":"Docker&K8s/K8s/K8s基础知识.md","mtime":"2020-03-02T12:42:24.284Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-02T12:42:32.383Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-edit-link/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-insert-logo/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lightbox/js/lightbox.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

